import { useParams } from "react-router";

export default function Intro() {
  const { id, name } = useParams()
  return (
    <div>
      <h1>介绍</h1>
      <div>id: {id}, name: {name}</div>
    </div>
  );
}